/**
 * 功能描述
 */

define(function (require, exports, module) {
	var Form = require("form");
	
    var instance = {
        initComponent: function (params,widget) {
        	var form = new Form({
        		parentNode:".J-form",
        		show:false,
        		model: {
        			id: "form",
        			defaultButton: false,
        			layout: "3_1",
        			items: [{
        				 name : "destination",
                         type : "text",
                         label : "目的地",
                         readonly : true,
        			},{
        				 name : "startDate",
                         type : "date",
                         label : "开始日期",
                         readonly : true,
        			},{
        				 name : "endDate",
                         type : "date",
                         label : "结束日期",
                         readonly : true,
        			},{
        				 name : "signUpNum",
                         type : "text",
                         label : "报名人数",
                         readonly : true,
        			},{
        				 name : "totalAmount",
                         type : "text",
                         label : "退费总金额",
                         readonly : true,
        			}]
        		}
        	});
        	widget.set("form", form);
        }
    };
    module.exports = instance;
});
